package com.wang.jmonkey.modules.region.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wang.jmonkey.modules.region.model.entity.RegionInOut;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Auther: tianchao
 * @Date: 2020/4/28 18:34
 * @Description:
 */
@Data
public class RegionInOutParamDTO extends RegionInOut {

    /**
     * 开始日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;
    /**
     * 结束日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    private int current = 1;

    private int size = 10;
}
